package com.springcloud.demo.dynamicTable.dynamic.dao;

import com.springcloud.demo.dynamicTable.dynamic.entity.MetaInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author wx
 * @date 2018-08-13 14:08:15
 */
@Mapper
@Repository
public interface MetaInfoDao {

	MetaInfoDO get(String id);

	List<MetaInfoDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(MetaInfoDO metaInfo);

	int update(MetaInfoDO metaInfo);

	int remove(String id);

	int batchRemove(String[] ids);
}
